<?php /* Smarty version Smarty-3.1.13, created on 2013-12-26 14:39:46
         compiled from "E:\Apache\www\hyqx\admin\templates\defaults\article_show.htm" */ ?>
<?php /*%%SmartyHeaderCode:767352bbcf32a87536-84560027%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c7fc5b324a013877e12b106c851e223f59dc5224' => 
    array (
      0 => 'E:\\Apache\\www\\hyqx\\admin\\templates\\defaults\\article_show.htm',
      1 => 1387198799,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '767352bbcf32a87536-84560027',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'title' => 0,
    'all_channel' => 0,
    'channel_id' => 0,
    'articles_information' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_52bbcf32b12b78_33346588',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52bbcf32b12b78_33346588')) {function content_52bbcf32b12b78_33346588($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>
<script language="javascript" type="text/javascript"
	src="js/default/jquery-1.9.1.min.js"> </script>
<script language="javascript" type="text/javascript">
$=jQuery;
function ChangeSelect(){
	if($("#articles").is(':checked')){
		SelectAll();
	}else{
		NoSelectAll();
	}
}
function SelectAll(){
	 $("input:checkbox[name='article[]']").prop("checked", true);	
		}
function NoSelectAll(){
	 $("input:checkbox[name='article[]']").prop("checked", false);	
		
}
 
function SelectOthers(){
	$("input:checkbox[name='article[]']").each(function () {
        $(this).prop("checked", !$(this).prop("checked"));
    });
}

</script>
<style>
/*主体*/
html,body {
	width:  100%;
	height: 100%;
	font-size: 13px;
	color:#333;
	overflow:auto;
	font-family: "微软雅黑";
}
*{
  margin:0px;
  padding:0px;
}
a {
	text-decoration: none;
}
a:hover{
	color:#F00;
	text-decoration:none;
}
#main {
    background:#EEFFEE;
	border: 1px double #aaa;
}
#article_list_title,.article{
 text-align: center;
}
.article_title{
 text-align: left;
}
.extends_link,.check{
  color:red;
}
.picture{
 color:#6600CC;
}
.is_top{
color:#FF6633;
}
#channel_select{
margin:5px 0px 5px 35px;
}
table{ 
border-collapse:collapse; 
border:#D1E9E9 solid 1px;
}
table td{ 
border:#D1E9E9 solid 2px; 
padding:5px 0px 5px;
}
.article_num{
   padding-right:10px;
}
.page_navigation{
padding-top:5px;
}
.page{
border:#ffffcc solid 1px;
margin-left:5px;
display: inline-block;
}
.current_page{
  color:#F00;
}
.input_button{
  margin-left:10px;
}
#buttons{
padding-top:3px;
padding-left:3px;
}
</style>
</head>
<body>
	<div id="main">
	<!--[if IE]> 
<script type="text/javascript">
$("table").style.bordercolor='#ffffff');
</script> 
<![endif]--> 
	<form action="article_show.php" method="get" name="article_show_form">
	<div id="channel_select">
	<span>请选择要查看文章列表的栏目：</span> <select name='channel_id' id='channel_id' onchange="article_show_form.submit();">
					<option value='0'>所有栏目</option> 
					<?php echo $_smarty_tpl->tpl_vars['all_channel']->value;?>

				</select>
	<script type="text/javascript">
	channel_id='<?php echo $_smarty_tpl->tpl_vars['channel_id']->value;?>
';
	$("#channel_id option[value='"+channel_id+"']").prop("selected",true);
	</script>
	</div>
	<table width="100%" cellpadding="0" cellspacing="0">
	<tr height="25px" id="article_list_title">
	<td width="3%"><input type='checkbox' id="articles"  onclick='ChangeSelect();' value=0/></td>
	<td width="5%">ID</td>
	<td width="42%">文章标题</td>
	<td width="10%">所属栏目</td>
	<td width="7%">发布人</td>
	<td width="13%">更新时间</td>
	<td width="4%">点击</td>
	<td width="16%">操作</td>
</tr>
<?php echo $_smarty_tpl->tpl_vars['articles_information']->value;?>

</table>
	</form>
	</div>
</body>
</html><?php }} ?>